package com.gzhryc.shared_device.oem.micro.api.dto.xcx.v1.member;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.List;

public class MemberCommonDeviceListResponse extends SecurityResponse<MemberCommonDeviceListResponse.Body> {

	private static final long serialVersionUID = 1L;

	public MemberCommonDeviceListResponse() {
		this.body = new Body();
	}

	public MemberCommonDeviceListResponse(Integer code) {
		this.body = new Body();
		this.code = code;
	}

	public MemberCommonDeviceListResponse(Integer code, String msg) {
		this.body = new Body();
		this.code = code;
		this.msg = msg;
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		private List<Item> items;

		public List<Item> getItems() {
			return items;
		}

		public void setItems(List<Item> items) {
			this.items = items;
		}
	}

	public static class Item {

		private String deviceSn;
		private String deviceFunNames;
		private Long placeId;
		private String placeName;
		private String province;
		private String city;
		private String cityArea;

		public String getDeviceSn() {
			return deviceSn;
		}

		public void setDeviceSn(String deviceSn) {
			this.deviceSn = deviceSn;
		}

		public String getDeviceFunNames() {
			return deviceFunNames;
		}

		public void setDeviceFunNames(String deviceFunNames) {
			this.deviceFunNames = deviceFunNames;
		}

		public Long getPlaceId() {
			return placeId;
		}

		public void setPlaceId(Long placeId) {
			this.placeId = placeId;
		}

		public String getPlaceName() {
			return placeName;
		}

		public void setPlaceName(String placeName) {
			this.placeName = placeName;
		}

		public String getProvince() {
			return province;
		}

		public void setProvince(String province) {
			this.province = province;
		}

		public String getCity() {
			return city;
		}

		public void setCity(String city) {
			this.city = city;
		}

		public String getCityArea() {
			return cityArea;
		}

		public void setCityArea(String cityArea) {
			this.cityArea = cityArea;
		}
	}

}
